<?php
class Movimiento extends AppModel {

	var $name = 'Movimiento';
	var $validate = array(
		'cuenta_id' => array('numeric'),
		'monto' => array('money')
	);

	//The Associations below have been created with all possible keys, those that are not needed can be removed
	var $belongsTo = array(
			'Cuenta' => array('className' => 'Cuenta',
								'foreignKey' => 'cuenta_id',
								'conditions' => '',
								'fields' => '',
								'order' => ''
			)
	);

}
?>